SmartCrawl\Modules\Advanced\Redirects\Controller D

Total Complexity 183
Dependencies 12
Dependents 3
Total lines 1,394
Lines of code 854
Logical lines of code 444
Comment lines 313
Methods 43
Properties 3

Methods 43

Method Rating Maintainability Complexity Lines of code
bulk_update_redirects()
A
41 11 60
intercept()
A
45 12 41
import_redirects()
A
42 9 60
save_redirect()
A
46 10 37
get_redirects_from_json()
A
46 8 43
find_geo_destination()
A
54 9 21
update_redirect_notices()
A
53 8 23
redirect_post()
S
52 7 27
get_redirects_from_csv()
S
53 7 22
find_regex_redirect()
S
55 7 19
update_redirection_notice_transient()
S
49 6 31
sanitize_options()
S
50 5 32
display_redirection_update_notice()
S
46 4 43
format_destination()
S
52 5 27
display_upgrade_notice()
S
49 4 35
redirect_attachments()
S
57 5 17
render_dashboard_content()
S
49 3 40
export_redirects()
S
49 3 32
upgrade_table()
S
66 5 8
find_match()
S
60 4 13
populate_destination()
S
61 4 13
get_redirects()
S
61 4 13
get_current_url()
S
62 4 11
init()
S
52 3 22
allowed_hosts_filter()
S
58 3 17
delete_redirect()
S
60 3 13
find_plain_redirect()
S
64 3 11
always()
S
66 3 9
get_request_data()
S
76 3 3
localize_script_args()
S
60 2 13
find_regex_destination()
S
63 2 11
terminate()
S
57 1 16
get_url_query_vars()
S
69 2 7
manage_trash_post_notice()
S
69 2 7
maybe_create_table()
S
71 2 6
get_post_type_label()
S
69 2 7
manage_delete_post_notice()
S
69 2 7
admin_notices()
S
78 1 4
is_source_regex_invalid()
S
73 1 4
to_safe_redirection()
S
65 1 9
get_current_path()
S
80 1 3
sanitize_post_redirect()
S
67 1 8
__construct()
S
65 1 9